home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Workspace / aa_m68k_Only / WideScreen-V0.5 / README < prev    next >
Text File  |  1992-09-01  |  22KB  |  447 lines

  1. WARNING:  WideScreen is currently under development consult the KNOWN BUGS
  2.           section before attempting to use this application.
  3.  
  4.    This is Version 0.5 of WideScreen (formerly known as WideScreen V0.4-V0.2
  5. and VDT V0.1.  WideScreen is a Virtual Desktop manager currently under
  6. development.  If you are familiar the X window manager "tvtwm" or the
  7. VirtSpace.app utility then you known what WideScreen does.  WideScreen was
  8. started before VirtSpace.app was released to the general public.  I was
  9. going to abandon WideScreen when VirtSpace came out, but I decided to
  10. continue development since I wasn't completely satisfied with the
  11. functionality of VirtSpace.
  12.  
  13.    WideScreen is distributed in two packages.  WideScreen-VX.X-SRC.tar.Z is a
  14. complete source distribution with no prebuilt binary.  You should down load
  15. this file is you are interested in building the application yourself, or
  16. you wish to inspect or modify the source code.  WideScreen-VX.X-BIN.tar.Z is
  17. a prebuilt stripped binary version for those without compilers.
  18.  
  19.    I decided to distribute WideScreen in it's current unfinished state since
  20. my work schedule has not allowed me the time needed to finish off all the 
  21. little details.  And my upcomming schedule is likely to be worse for next
  22. few months.  So rather than never getting around to finishing, and hence
  23. never distributing it, I decided release what I currently have in the hopes
  24. that some may find it a useful alternative.
  25.  
  26. NOTE: About Background windows.
  27.    WideScreen treats background windows differently then the VirtSpace
  28. application.  Background windows do not show up in the virtual desk top
  29. window and are essentially ignored by the WideScreen application.  WideScreen
  30. considers any window set to a window tier less than 0 to be a background
  31. window.  If you use the Scene or Background applications then you background
  32. windows will be set to tier less than 0.  If, however, you use the background
  33. shell script to set your background window you will need to use the modified
  34. version of this script provided with the WideScreen distribution.
  35.  
  36. Michael D. Marchionna
  37. mdm@wdl1.wdl.loral.com
  38.  
  39.  
  40. The following is the extracted text from the WideScreen help panel:
  41. ------------------------------------------------------------------------------
  42. Improvements over WideScreen V0.4:
  43. o   Bug Fixes:
  44.    o   WideScreen V0.4 was released with a stupid error that kept the
  45.        Virtual Desktop from updating when the VDT window became the
  46.        Key Window.  This is corrected in V0.5.  For this reason alone you
  47.        should vaporize any copy of V0.4, binary or source, and replace it
  48.        with V0.5.
  49. o   New Features:
  50.    o   A Pan Jump option is available that allows the VDT View Port to be
  51.        positioned with a single mouse click.
  52.    o   A Pan Grid option is available to allow control of the granularity
  53.        of mouse panning movement.
  54.    o   A new default setting has been added to allow you to select the
  55.        gray value used in border highlighting.
  56.    o   The Pan Delta option is now modifiable durring run time.
  57.  
  58. o   Known Bugs:
  59. ---------------
  60.    o   If the Workspace File Viewer is displaced by panning the View
  61.        Port or by dragging the Workspace view from the VDT window, the
  62.        Workspace can crash with a signal 10 error.  This occurs when
  63.        dragging a Workspace Icon from or to the Shelf.  The only current
  64.        work arounds are to 1) make the Workspace File Viewer window
  65.        sticky and keep it that way.  Or always drag the File Viewer 
  66.        Window slightly before manipulating any shelf Icons.   I currently
  67.        have no fix for this after many attempts.  It is due to the basic way
  68.        in which I move windows.  I welcome any suggestions to correct the
  69.        problem.
  70.  
  71.    o   When using the right mouse button to popup the application menu after
  72.        changing the view port the menu can become displaced from where
  73.        the mouse is clicked.  You can get around this by moving the mouse
  74.        outside the current key window and then clicking.  Also if the key
  75.        dragged any amount the problem will correct itself.
  76.  
  77.  
  78. Improvements over WideScreen V0.3:
  79. o   New Features:
  80.    o   Sticky window can be set and unset by Alt-clicking on the window
  81.        icons in the VDT window.
  82.    o   The VDT window now has a border that highlights when the VDT
  83.        window is given keyboard focus.
  84.    o   The preference panel now inserts the current VDT window position,
  85.        and VDT size when the "Current" button is pressed.
  86.  
  87. Improvements over WideScreen V0.2:
  88. o   New Features:
  89.    o   The Preference Panel can now be used to modify and save all of the
  90.        WideScreen dwrite options.
  91.    o   New dwrites have been added to define the startup VDT window
  92.        position.
  93.    o   A new dwrite has been added to allow the VDT window's resize
  94.        bar to removed. 
  95.    o   A new dwrite has been added to allow the VDT window to have no
  96.        drag bar and hence be immobilized.
  97.    o   The VDT window level options have been moved to the preference
  98.        panel, and can be saved between runs like all the preferences.
  99.    o   A new Utility function has been added to align all the non-Dock
  100.        icons in the current View Port. 
  101.    o   A new dwrite has been added to select the Icon Gravity used in the
  102.        Align Icon utility.  This option determines which corner of the screen
  103.        the icons will be bunched toward.
  104.    o   The Immediate/Deferred Window Motion option has been
  105.        implemented, and is selectable at runtime and is saved between runs.
  106.    o   The Dock Handling option has been implemented to allow the Dock to
  107.        always be kept within the current View Port ("Sticky"), or to treat the
  108.        Dock like any normal window ("Slippery").  It is settable at runtime
  109.        and is saved between runs.
  110.    o   A new Utility function has been added to retrieve the Dock and return
  111.        it within the current View Port from wherever it is in the VDT.  This
  112.        is usefull when Dock Handling is set to "Slippery".
  113.    o   As an additional safety feature the Dock is always retrieved before
  114.        WideScreen terminates.
  115.    o   Windows can be order to the front or bottom of the window tier by
  116.        SHIFT or COMMAND clicking respectively on the given windows
  117.        VDT window icon.
  118.  
  119. Improvements over VDT V0.1:
  120. o   Bug fixes:
  121.    o   The mysterious offset that occasionally occurred when dragging
  122.        windows by the drag bar appears to be solved.
  123.    o   The problem with the command key panning options should be fixed.   
  124. o   New Features:
  125.    o   The VDT View Port can now be positioned via mouse dragging.  See 
  126.        Panning section below.
  127.    o   Windows can now be moved  from the VDT Window via mouse 
  128.        dragging.  See the Window Manipulation section below.
  129.    o   The VDT window now has a resize bar for extending the Virtual
  130.        Desktop size.
  131.    o   Background windows are handled in a sensible fashion.
  132.    o   New panning keyboard accelerators have been added that do not
  133.        require the command key.  Also the arrow keys can be used for
  134.        panning.
  135.    o   The PanDelta default has been changed from 50 to 100.
  136.    o   The Hide command has been removed and replaced with a
  137.        miniaturize command.  The mini-window now has a recognizable
  138.        icon.
  139.    o   There is an alert panel posted when the Quit command is selected.
  140.        The application returns the VDT View Port back to its startup origin
  141.        before terminating.
  142.  
  143. Permission is granted to redistribute this version of WideScreen to any interested user provided it has not modified.  Any recipient of WideScreen is free to modify and use any of the source code for their own personel use, but are not allowed to redistribute the modified version without the original authors permission.
  144.  
  145. Michael D. Marchionna
  146. San Jose, California
  147. (408) 264-1531 (home)
  148. (408) 473-4287 (work)
  149.  
  150. Virtual Desktop Concept
  151.  
  152.    The idea of a virtual desktop is not new.  Some of you may have
  153. encounterd a virtual desktop manager in the X11 environment (e.g. vtwm and
  154. tvtwm) or in the Macintosh environment.  The idea is fairly simple.  Imagine
  155. what it would be like if the root window was larger than the physical
  156. dimensions of the display screen.  The physical display would only be able
  157. to view a portion of the larger virtual desktop(VDT).  Now if you could
  158. change which portion of the VDT is shown on the physical display, you could
  159. then place windows all over the VDT.  The physical display then behaves like
  160. a scrollable view on a window that is larger than the view.
  161.  
  162.    The advantages of a VDT manager become clear quickly after using one.
  163. Since you can place windows all over the VDT you can organize your work in
  164. different portions of the VDT.  For example you could be using IB in one
  165. section of the VDT, the Digital Librarian in another, and some Terminal's in
  166. still another.  The VDT manager provides a scaled down window that
  167. represents the entire VDT so you can see how you have spread all the windows
  168. out.  You can then move about the VDT with a keystroke or a mouse drag to
  169. portions of the VDT that are interesting.  Then end result is that you can
  170. reduce window clutter, and reduce the amount of window juggling needed
  171. without a VDT.
  172.  
  173. The WideScreen Menu
  174.  
  175. Info:
  176. Info Panel...    Displays the obligatory Application Credits and Version
  177.                  number.
  178. Help Panel...  Displays this panel.
  179. Preferences... Displays the application preference panel for setting all the
  180.                WideScreen customization options.
  181.  
  182. Panning:
  183. Panning refers to changing the position of the currently viewed portion of
  184. the Virtual Desktop.  This visible region is called the VDT View Port.  It
  185. is represented in the WideScreen VDT window as a light grey rectangle behind
  186. all the other scaled window icons.  The VDT View Port can be positioned in
  187. several ways using the mouse or the keyboard.
  188.  
  189. Panning With The Mouse:
  190. To move the VDT View Port with the mouse you need to give the VDT Window
  191. focus, and then click within the light grey rectangle representing the VDT
  192. View Port.  Then simply drag the View Port to the desired position.  You can
  193. click on a window icon that is inside the VDT View Port region and the View
  194. Port will still be selected.
  195.  
  196. Panning With The Keyboard:
  197. The are a bunch of ways to move the VDT View Port with the keyboard.  The
  198. most obvious are the command key options under the Panner Sub-menu.  The
  199. compass directions each move the VDT View Port in the direction indicated.
  200. The amount the View Port is moved is determined by the PanDelta default
  201. described below.  Note that all the Command Key accelerators make sense when
  202. you look at the numbers on the numeric keypad.  The Center command moves the
  203. View Port to the center of the VDT.  While the Home command returns to the
  204. View Port to the location it was initially at startup.  The Top, Bottom,
  205. Left, and Right move the View Port to the indicated edge of the VDT.
  206.  
  207. In addition to the command key options you can simply type a direction key.
  208. The direction keys are the same as the keys used for the Panner command key
  209. accelerators.  Simply type the key without holding down the command key.  In
  210. addition the arrow keys will perform the Panning functions North, South,
  211. East, and West.  The Alternate key can be combined with anyone of the eight
  212. directional keys to move the View Port to the edge of the VDT in that given
  213. direction.  For example typing ALT-7 would move the View Port to the extreme
  214. NorthWest (Top Left) corner of the VDT.
  215.  
  216. Window Manipulation:
  217. WideScreen supports a number of window manipulation functions from the VDT
  218. window depending on what modifier key is held down when clicking in the VDT
  219. window.
  220.  
  221. Moving Windows:
  222. You can move actual windows from the VDT window by dragging the associated
  223. window icon about in the VDT window.  In order to drag a VDT window icon you
  224. must hold down the CONTROL key, and then click on the window icon you wish
  225. to drag.  Then simply drag the window icon to the new location you wish the
  226. real window to be moved to.
  227.  
  228. Ordering Windows:
  229. You can change the stacking order of actual windows from the VDT window.  If
  230. you hold down the SHIFT key and click on the VDT window icon the actual
  231. window will be brought to the front of its window tier.  If you hold down
  232. the COMMAND key and click on the VDT window icon the actual window will be
  233. moved to the bottom of its window tier.
  234.  
  235. Sticky Windows:
  236. You can mark certain windows to be treated as sticky by Alt-Clicking on the
  237. window icon in the VDT window.  A sticky window maintains its position
  238. within the VDT view port as the view port is moved.  Sticky windows are
  239. identifiable in the VDT window black window icons with white borders, as
  240. opposed to normal windows which are shown as white window icons with black
  241. borders.  You can unstick a window by Alt-Clicking the icon a second time.
  242.  
  243. Utilities:
  244. This submenu provides utility commands that help support the use of the
  245. WideScreen Virtual Desktop.
  246.  
  247. Align Icons:
  248. This command gathers all the non-Dock icons in the current VDT View Port,
  249. and arranges them sequentialy toward the selected Icon Gravity corner.
  250.  
  251. Retrieve Dock:
  252. This command moves the entire Dock back within the current View Port from
  253. its current position in the VDT.  This function is is useful when the Dock
  254. Handling option is set to "Slippery".
  255.  
  256. Return Dock:
  257. This command moves the entire Dock back the VDT origin  View Port position.
  258. This function is disabled when the Dock Handling option is set to "Sticky".
  259.  
  260. Update Vdt:
  261. This command refreshes the VDT Window, and gives an up to date display of
  262. the VDT.
  263.  
  264. WideScreen Preferences
  265.  
  266.    The WideScreen application uses a series of defaults that define all of
  267. the various Startup and Runtime options available to the user.  All
  268. WideScreen options may be modified from the Preference panel or set through
  269. the UNIX shell command dwrite.  Startup preferences only take affect the
  270. next time WideScreen is run.  After changing a Startup preference you must
  271. click the Save button for the modification to be recorded to the defaults
  272. database.  Runtime preferences take affect immediately, however if you wish
  273. the setting to be remembered the next time WideScreen is run you must click
  274. the Save button.  The Revert button will reset all the preferences to those
  275. currently written to the defaults database.  Each of the available
  276. preferences are discussed in detail below along with the associated dwrite
  277. command:
  278.  
  279. Startup Preferences:
  280.  
  281. Size "Width Height"
  282. The size is expressed in units of physical screen size. Two integers are
  283. expected in the Size default representing the desired width and height of
  284. the VDT.  The default VDT Size is 2 x 2, or twice the physical screen width
  285. and twice as high.  The VDT size is restricted to maximum of 8x8 to avoid
  286. hitting the 16000 absolute value limit of a screen coordinate.
  287.     Default:     "2 2"
  288.     Example:    dwrite WideScreen Size "2 3"
  289.     This would create a virtual desktop that is two times the width and
  290.     three times the height of the physical display screen.
  291.  
  292. Scale scale
  293. The VDT Scale is the ratio of the VDT Size to the size of the window
  294. representing the VDT.  The Scale factor must be sufficiently large to allow
  295. the VDT window to fit within the physical screen limits, yet not to large
  296. that it would reduce the VDT window to something smaller than 64x64 pixels.
  297.     Default:        8
  298.     Example:    dwrite WideScreen Size 12
  299.     This would cause the VDT window to be one twelfth the size of the full
  300.     scale virtual desktop.
  301.  
  302. Origin "X Y"
  303. The View Port Origin default determines which section of the VDT the View
  304. Port will initially be placed at.  The Origin default defines the X and Y
  305. position in screen sizes of the viewport origin.  In a 2 x 2 VDT an Origin
  306. of "0 0" puts the View Port at the bottom left of the VDT while an Origin of
  307. "1 1" will put the View Port at the upper left of the VDT.
  308.     Default:     "0 0"
  309.     Example:    dwrite WideScreen Origin "0 1"
  310.     This would cause the VDT View Port to be initially placed in the
  311.     upper left corner of a 2 x 2 VDT.
  312.  
  313. WinLocX Xpos
  314. WinLocY Ypos
  315. The Window Location defaults define what screen position the bottom left
  316. corner of the VDT window will be placed at when the WideScreen application
  317. is started.  The Xpos and Ypos values define the desired screen coordinate.
  318.     Default:     WinLocX    300
  319.     Default:     WinLocY    300
  320.     Example:    dwrite WideScreen WinLocX 0
  321.                 dwrite WideScreen WinLocY 0
  322.     This would cause the VDT Window to be positioned at the bottom left
  323.          hand corner of the physical screen at startup.
  324.  
  325. ResizeBar YesNo
  326. The ResizeBar default determines if the VDT window will have a resize bar on
  327. startup and for the duration of its run.
  328.     Default:     ResizeBar   Yes
  329.     Example:    dwrite WideScreen ResizeBar No
  330.     This would cause the VDT Window to not have a resize bar.
  331.  
  332. Immobile YesNo
  333. The Immobile default determines if the VDT window will have a drag bar on
  334. startup and for the duration of its run.  If the VDT window has no drag bar
  335. the window will be made impossible to move, or at least very difficult.
  336.     Default:     Immobile    No
  337.     Example:    dwrite WideScreen Immobile Yes
  338.     This would cause the VDT Window to not have a drag bar.
  339.  
  340. Runtime Preferences:
  341.  
  342. Window Level:
  343. Changes the window tier that the VDT Window is in.  The Normal tier means
  344. the VDT window can be raised and lowered in the same way all the normal
  345. windows are.  The Floating setting is the default.  At the this level the
  346. VDT window rides above the normal windows like an alert panel.  The Dock
  347. level means the VDT window rides in the same window tier as the Dock.  The
  348. SubMenu level puts the VDT window above the Dock but lower the Application
  349. Menu.  The MainMenu level means the VDT window will ride above just about
  350. everything.  I mean it's way up there lady!
  351.     Default:     WindowLevel Floating
  352.     Settings:    Normal Floating Dock SubMenu MainMenu
  353.     Example:    dwrite WideScreen  WindowLevel Dock
  354.     This would cause the VDT Window to be placed in the
  355.         NX_DOCKLEVEL tier.  Which happens to be one less than the
  356.         window tier that the Dock icons are in.  Go Figure!
  357.  
  358. Icon Gravity:
  359. Changes action of the Uitlities->Align Icon function.  This setting
  360. determines which corner of the physical screen the Align Icon function will
  361. gravitate all the non-Dock icons within the corrent View Port towards.
  362.     Default:     IconGravity BottomLeft
  363.     Settings:    TopLeft TopRight BottomLeft BottomRight
  364.     Example:    dwrite WideScreen  IconGravity BottomRight
  365.     This would cause the Align Icon function to start positioning icons at
  366.          the bottom right corner of the screen moving towards the left for each
  367.          additonal icon.  If there are enough icons to exceed the width of the
  368.          screen a new row will be started above the previous one.
  369.  
  370. Dock Handling:
  371. Changes the way the Dock is handled durring View Port moves.  If set to
  372. Sticky the Dock is always kept within the current View Port.  If set to
  373. Slippery the Dock is treated as any ordinary window.
  374.     Default:     DockHandling    Sticky
  375.     Settings:    Sticky Slippery
  376.     Example:    dwrite WideScreen  DockHandling Slippery
  377.     This would cause the Dock not to follow the View Port as it is moved.
  378.  
  379. Window Motion:
  380. Changes the way the actual window position is updated when draging a VDT
  381. window icon.  If set to Deferred the actual window's position is not updated
  382. until the drag opertation is completed.  If set to Immediate the actual
  383. window's position is updated in tandem with the VDT window icon.
  384.     Default:     WindowMotion    Deferred
  385.     Settings:    Deferred Immediate
  386.     Example:    dwrite WideScreen  WindowMotion Immediate
  387.     This would cause actual window positions to be updated in tandem
  388.          with  movement of the VDT window icon.
  389.  
  390. PanDelta Percentage
  391. The PanDelta default expresses the percentage of the physical screen that is
  392. to be shifted in a single pan increment.  The default value of 100 means the
  393. VDT view port is shifted by one physical screen size for the appropriate
  394. direction.
  395.     Default:     100
  396.     Example:    dwrite WideScreen PanDelta 50
  397.     This would cause the VDT View Port to pan one half a screens worth
  398.     in the given direction.
  399.  
  400. PanGrid Percentage
  401. The PanGrid default expresses the percentage of the physical screen that is
  402. to be used as the X and Y increments used in mouse panning.  The default
  403. value of 0 means the X and Y increments are both 1 pixel.  Percentages
  404. between 1 and 100 may increase these increments.
  405.     Default: 0
  406.     Example:dwrite WideScreen PanGrid 50
  407.     This would cause mouse panning to shift the VDT View Port in one
  408.     half a screen increments.
  409.  
  410. PanJump YesNo
  411. The PanJump default determines if the VDT View Port jumps to where you click
  412. the cursor in the VDT window.  The Pan Jump feature attempts to place the
  413. center of the View Port at the position the mouse was clicked.
  414.     Default: PanJumpNo
  415.     Example:dwrite WideScreen PanJump Yes
  416.     This would enable the Pan Jump feature.
  417.  
  418. BorderGray GrayValue
  419. The BorderGray default determines what gray value is used as the border
  420. highlight color when the Immobile option is set to Yes.  This is used help
  421. indicate when the VDT window has keyboard focus.  The GrayValue can range
  422. between 0.0 and 1.0.
  423.     Default: 0.0
  424.     Example:dwrite WideScreen BorderGray 1.0
  425.     This would cause border high light color to white.
  426.  
  427. Things To Do List:
  428.     o Implement a safety feature that will give the user the option to
  429.       move all the windows that are outside the current View Port back
  430.       into view when the VDT App is exited normally or otherwise!
  431.     o Implement a Window Inspection panel that allows the user get all 
  432.       the statistics about the given window that is clicked on.
  433.  
  434. Acknowledgements:
  435.     o Tom LaStrange - For adding the wonderful Virtual Desktop feature
  436.       to the X11 twm window manager, and transforming it into tvtwm
  437.       which I use every day at work.  It makes working in X almost 
  438.       bearable.
  439.     o Paul S. Kleppner - For writing the Mini Example Winfo which
  440.       provided the DPS wrappers needed to implement WideScreen.
  441.     o Beta Testers - To all those brave soles who risked hosing there
  442.       WorkSpace, and donated their valuable time to report bugs, and
  443.       offer valuable suggestions.  Many Thanks!
  444.  
  445. Please send comments and suggestions to:
  446.         mdm@wdl1.wdl.loral.com
  447.